Warning: mkdir(): No space left on device in /var/www/tg-me/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/cppproglib/--): Failed to open stream: No such file or directory in /var/www/tg-me/post.php on line 50
Библиотека C/C++ разработчика | cpp, boost, qt | Telegram Webview: cppproglib/5721 -
Telegram Group & Telegram Channel
😈 Как правильно обрабатывать ошибки?

Как правило разработчики делятся на два типа, те кто поддерживают исключения и те кто за ручную обработку ошибок.

🎯 Exception team:
• Чистый код без проверок на каждом шаге
• RAII + exceptions = идеальное сочетание
• Стандартный C++ подход
• Exception safety гарантии

📋 Error codes army:

• Предсказуемая производительность
• Нет hidden control flow
• Embedded-friendly
std::expected в C++23 спасет мир

GOOGLE STYLE: Exceptions запрещены, только error codes!

РЕАЛЬНОСТЬ: В высоко нагруженных приложениях exceptions = смерть, в обычном коде — удобство.

А ты из какого лагеря? И сколько раз ловил std::bad_alloc в production?

Библиотека C/C++ разработчика #междусобойчик



tg-me.com/cppproglib/5721
Create:
Last Update:

😈 Как правильно обрабатывать ошибки?

Как правило разработчики делятся на два типа, те кто поддерживают исключения и те кто за ручную обработку ошибок.

🎯 Exception team:
• Чистый код без проверок на каждом шаге
• RAII + exceptions = идеальное сочетание
• Стандартный C++ подход
• Exception safety гарантии

📋 Error codes army:

• Предсказуемая производительность
• Нет hidden control flow
• Embedded-friendly
std::expected в C++23 спасет мир

GOOGLE STYLE: Exceptions запрещены, только error codes!

РЕАЛЬНОСТЬ: В высоко нагруженных приложениях exceptions = смерть, в обычном коде — удобство.

А ты из какого лагеря? И сколько раз ловил std::bad_alloc в production?

Библиотека C/C++ разработчика #междусобойчик

BY Библиотека C/C++ разработчика | cpp, boost, qt




Share with your friend now:
tg-me.com/cppproglib/5721

View MORE
Open in Telegram


Библиотека C C разработчика | cpp boost qt Telegram | DID YOU KNOW?

Date: |

Telegram Auto-Delete Messages in Any Chat

Some messages aren’t supposed to last forever. There are some Telegram groups and conversations where it’s best if messages are automatically deleted in a day or a week. Here’s how to auto-delete messages in any Telegram chat. You can enable the auto-delete feature on a per-chat basis. It works for both one-on-one conversations and group chats. Previously, you needed to use the Secret Chat feature to automatically delete messages after a set time. At the time of writing, you can choose to automatically delete messages after a day or a week. Telegram starts the timer once they are sent, not after they are read. This won’t affect the messages that were sent before enabling the feature.

In many cases, the content resembled that of the marketplaces found on the dark web, a group of hidden websites that are popular among hackers and accessed using specific anonymising software.“We have recently been witnessing a 100 per cent-plus rise in Telegram usage by cybercriminals,” said Tal Samra, cyber threat analyst at Cyberint.The rise in nefarious activity comes as users flocked to the encrypted chat app earlier this year after changes to the privacy policy of Facebook-owned rival WhatsApp prompted many to seek out alternatives.Библиотека C C разработчика | cpp boost qt from hk


Telegram Библиотека C/C++ разработчика | cpp, boost, qt
FROM USA